package com.sjme.domain.interview;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author LY
 * @since 2025-10-12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("candidate_interviewer")
public class CandidateInterviewer implements Serializable {

    private static final long serialVersionUID = 1L;

    public CandidateInterviewer(String interviewInfoId, String interviewerId,String interviewEvaluationId) {
        this.interviewInfoId = interviewInfoId;
        this.interviewerId = interviewerId;
        this.interviewEvaluationId = interviewEvaluationId;
    }

    public CandidateInterviewer(String interviewInfoId, String interviewerId,String interviewEvaluationId,String candidateId) {
        this.interviewInfoId = interviewInfoId;
        this.interviewerId = interviewerId;
        this.interviewEvaluationId = interviewEvaluationId;
        this.candidateId = candidateId;
    }

    @TableId(value = "id", type = IdType.NONE)
    private String id;

    /**
     * 面试信息id
     */
    private String interviewInfoId;

    /**
     * 候选人id
     */
    private String candidateId;

    /**
     * 面试官id
     */
    private String interviewerId;

    /**
     * 面试评价id
     */
    private String interviewEvaluationId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;


}
